package com.gxa.service;

import com.gxa.common.R;

import java.util.Date;

public interface LogService {

    /**
     * 分页查询所有系统日志
     * @param currentPage
     * @param pageSize
     * @return
     */
    R queryAllLogsByPage(int currentPage, int pageSize);

    /**
     * 按条件分页查询系统日志
     * @param organization
     * @param operator
     * @param operationTime
     * @param operationContent
     * @param currentPage
     * @param pageSize
     * @return
     */
    R queryConditionalLog(String organization, String operator,Date operationTime, String operationContent, int currentPage, int pageSize);
}
